<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>Docs For Class template</title>
	<link rel="stylesheet" type="text/css" id="layout" href="../media/layout.css" media="screen">
	<link rel="stylesheet" type="text/css" href="../media/style.css" media="all">
	<link rel="stylesheet" type="text/css" href="../media/print.css" media="print">
</head>

<body>
<div id="header">
	<div id="navLinks">
        
                                                        
                            	        [ <a href="../classtrees_reader.html">Class Tree: reader</a> ]
            [ <a href="../elementindex_reader.html">Index: reader</a> ]
        		[ <a href="../elementindex.html">All elements</a> ]		
	</div>
	<div id="packagePosition">
		<div id="packageTitle2">reader</div>
		<div id="packageTitle">reader</div>
		<div id="elementPath"> &middot; </div>
	</div>
</div>

<div id="nav" class="small">
	<div id="packages">
		Packages:
					<p><a href="../li_default.html">default</a></p>
					<p><a href="../li_reader.html">reader</a></p>
			</div>

				<div id="index">
			<div id="files">
								Files:<br>
								<a href="../reader/_template.php.html">		template.php
		</a><br>
				</div>
			<div id="interfaces">
							</div>
			<div id="classes">
				Classes:<br>
								<a href="../reader/template.html">		template
		</a><br>
				</div>
		</div>
	</div>

<div id="body">
	    		<h1>Class: template</h1>
	<p style="margin: 0px;">Source Location: /template.php</p>
	

<div class="leftcol">
	<h3><a href="#class_details">Class Overview</a> <span class="smalllinenumber">[line 8]</span></h3>
	<div id="classTree"><pre>reader
   |
   --template</pre>
</div>
	<div class="small">
	<p></p>
		<h4>Author(s):</h4>
	<ul>
								<li>Jan Papousek</li>
																</ul>
	<h4>Version:</h4>
	<ul>
																		</ul>

	<h4>Copyright:</h4>
	<ul>
													<li>Jan Papousek 2007</li>
											</li>
	</div>
</div>

<div class="middlecol">
	<h3><a href="#class_vars">Variables</a></h3>
	<ul class="small">
				<li><a href="../reader/template.html#var$dir">$dir</a></li>
				<li><a href="../reader/template.html#var$dirCSS">$dirCSS</a></li>
			</ul>
	<h3><a href="#class_consts">Constants</a></h3>
	<ul class="small">
			</ul>
</div>
<div class="rightcol">
	<h3><a href="#class_methods">Methods</a></h3>
	<ul class="small">
				<li><a href="../reader/template.html#method__construct">__construct</a></li>
				<li><a href="../reader/template.html#methodaddonByBook">addonByBook</a></li>
				<li><a href="../reader/template.html#methodbox">box</a></li>
				<li><a href="../reader/template.html#methodformAddon">formAddon</a></li>
				<li><a href="../reader/template.html#methodformBookAdd">formBookAdd</a></li>
				<li><a href="../reader/template.html#methodformCommentAdd">formCommentAdd</a></li>
				<li><a href="../reader/template.html#methodformDiscussAdd">formDiscussAdd</a></li>
				<li><a href="../reader/template.html#methodformTagAdd">formTagAdd</a></li>
				<li><a href="../reader/template.html#methodlink">link</a></li>
				<li><a href="../reader/template.html#methodlinkBookAdd">linkBookAdd</a></li>
				<li><a href="../reader/template.html#methodlinkInList">linkInList</a></li>
				<li><a href="../reader/template.html#methodtagListTop">tagListTop</a></li>
			</ul>
</div>

<div id="content">
<hr>
	<div class="contents">
	</div>

	<div class="leftCol">
    	<h2>Inherited Variables</h2>
		<h2>Inherited Constants</h2>
		</div>

	<div class="rightCol">
	<h2>Inherited Methods</h2>
		</div>
	<br clear="all">
	<hr>

	<a name="class_details"></a>
	<h2>Class Details</h2>
	<h4>Tags:</h4>
<ul>
	<li><b>author</b> - Jan Papousek</li>
	<li><b>copyright</b> - Jan Papousek 2007</li>
	<li><b>link</b> - <a href="http://papi.chytry.cz">http://papi.chytry.cz</a></li>
</ul>
	<p class="small" style="color: #334B66;">[ <a href="#top">Top</a> ]</p>

	<hr>
	<a name="class_vars"></a>
	<h2>Class Variables</h2>
		<a name="var$dir"></a>
	<p></p>
	<h4>$dir</h4>
	<div class="indent">
		<p class="linenumber">[line 12]</p>
		<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Direction, where files with HTML are.</li>
	<li><b>access</b> - public</li>
</ul>
		<p><b>Type:</b> string</p>
		<p><b>Overrides:</b> </p>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="var$dirCSS"></a>
	<p></p>
	<h4>$dirCSS</h4>
	<div class="indent">
		<p class="linenumber">[line 17]</p>
		<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Direction, where file with CSS is.</li>
	<li><b>access</b> - public</li>
</ul>
		<p><b>Type:</b> string</p>
		<p><b>Overrides:</b> </p>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>

	<hr>
	<a name="class_methods"></a>
	<h2>Class Methods</h2>
	
	<a name="method__construct"></a>
	<p></p>
	<h3>__construct</h3>
	<div class="indent">
		<p>
		<code>template __construct(
)</code>
		</p>
	
		<p class="linenumber">[line 22]</p>
		<p align="center"><strong>User inhereted construct
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodaddonByBook"></a>
	<p></p>
	<h3>addonByBook</h3>
	<div class="indent">
		<p>
		<code>void addonByBook(

$bookID)</code>
		</p>
	
		<p class="linenumber">[line 30]</p>
		<p align="center"><strong>Show addon by book.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Book ID.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$bookID</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodbox"></a>
	<p></p>
	<h3>box</h3>
	<div class="indent">
		<p>
		<code>void box(

$content, [
$class = &quot;box&quot;])</code>
		</p>
	
		<p class="linenumber">[line 55]</p>
		<p align="center"><strong>Create box.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Content of box.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$content</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>$class</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodformAddon"></a>
	<p></p>
	<h3>formAddon</h3>
	<div class="indent">
		<p>
		<code>void formAddon(

$bookID, [
$addonID = NULL])</code>
		</p>
	
		<p class="linenumber">[line 68]</p>
		<p align="center"><strong>Create form to add addon.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Book ID.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$bookID</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>$addonID</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodformBookAdd"></a>
	<p></p>
	<h3>formBookAdd</h3>
	<div class="indent">
		<p>
		<code>void formBookAdd(

$bookID)</code>
		</p>
	
		<p class="linenumber">[line 86]</p>
		<p align="center"><strong>Create form to add book to system.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Book ID.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$bookID</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodformCommentAdd"></a>
	<p></p>
	<h3>formCommentAdd</h3>
	<div class="indent">
		<p>
		<code>void formCommentAdd(

$bookID)</code>
		</p>
	
		<p class="linenumber">[line 104]</p>
		<p align="center"><strong>Create form to add comment.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Book ID.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$bookID</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodformDiscussAdd"></a>
	<p></p>
	<h3>formDiscussAdd</h3>
	<div class="indent">
		<p>
		<code>void formDiscussAdd(
[
$action = &quot;discussion.php?action=addDiscuss&quot;])</code>
		</p>
	
		<p class="linenumber">[line 114]</p>
		<p align="center"><strong>Create form to add Discuss item.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Action of form.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$action</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodformTagAdd"></a>
	<p></p>
	<h3>formTagAdd</h3>
	<div class="indent">
		<p>
		<code>void formTagAdd(

$bookID)</code>
		</p>
	
		<p class="linenumber">[line 126]</p>
		<p align="center"><strong>Create form to add tag.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Book ID.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$bookID</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodlink"></a>
	<p></p>
	<h3>link</h3>
	<div class="indent">
		<p>
		<code>void link(

$url, 
$caption, [
$class = NULL])</code>
		</p>
	
		<p class="linenumber">[line 139]</p>
		<p align="center"><strong>Create link.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - URL of link.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$url</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>$caption</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>$class</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodlinkBookAdd"></a>
	<p></p>
	<h3>linkBookAdd</h3>
	<div class="indent">
		<p>
		<code>void linkBookAdd(

$bookID)</code>
		</p>
	
		<p class="linenumber">[line 147]</p>
		<p align="center"><strong>Create link to add book to reader's book.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Book ID.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$bookID</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodlinkInList"></a>
	<p></p>
	<h3>linkInList</h3>
	<div class="indent">
		<p>
		<code>void linkInList(

$url, 
$caption, [
$class = NULL])</code>
		</p>
	
		<p class="linenumber">[line 163]</p>
		<p align="center"><strong>Create link in list.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - URL of link.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$url</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>$caption</b> 
		- 
		</li>
			<li>
		<span class="type"></span>
		<b>$class</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>
	<a name="methodtagListTop"></a>
	<p></p>
	<h3>tagListTop</h3>
	<div class="indent">
		<p>
		<code>void tagListTop(
[
$limit = 60])</code>
		</p>
	
		<p class="linenumber">[line 171]</p>
		<p align="center"><strong>Create box with the most used tags.
</strong></p>
<h4>Tags:</h4>
<ul>
	<li><b>var</b> - Number of tags.</li>
	<li><b>access</b> - public</li>
</ul>
		
	
	<h4>Parameters:</h4>
	<ul>
			<li>
		<span class="type"></span>
		<b>$limit</b> 
		- 
		</li>
		</ul>
	</div>
	<p class="top">[ <a href="#top">Top</a> ]</p>

	<hr>
	<a name="class_consts"></a>
	<h2>Class Constants</h2>
	</div>
	<div id="credit">
		<hr>
		Documentation generated on Thu, 21 Feb 2008 13:26:09 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0a2</a>
	</div>
</div>
</body>
</html>